package com.chen.web;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @decription
 * @atuhor:陈红卫
 * @create : 2017-06-21-11:06
 */
@RefreshScope
@RestController
public class TestController {

    @Value("${form}")
    String form;

    @RequestMapping("/form")
    public String test(){
        return this.form;
    }
}
